<template>
  <div class="wrapper-contant">
    <van-overlay :show="props.showLoading">
      <div class="wrapper">
        <van-loading type="spinner" />
      </div>
    </van-overlay>
  </div>
</template>

<script setup>
const props = defineProps({
  showLoading: {
    type: Boolean,
    default: false, //advertising  cloud
  },
})
</script>
<style lang="scss" scoped>
.wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  --van-overlay-background: #fff;
}
.wrapper-contant {
  --van-overlay-background: #fff;
}
</style>
